#include <iostream>
using namespace std;

class Date
{
	private :
		int m_year;
		int m_mon;
		int m_day;

	public :
		Date(int year = 2016, int mon = 05, int day = 24) :
			m_year(year), m_mon(mon), m_day(day)
		{
			cout << "Date default init()" << endl << endl;
		}

		void display()
		{
			cout << m_year << " - " << m_mon << " - " << m_day << endl;
		}
	protected :
};

int main()
{
	Date d1;
	Date d2(2015);
	Date d3(2015, 4);
	Date d4(2014, 4, 25);

	cout << "Default d1 : " ;
	d1.display();

	cout << "Default d2 : ";
	d2.display();

	cout << "Default d3 : ";
	d3.display();

	cout << "Default d4 : ";
	d4.display();
}
